package com.cjk.ssm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Random;

@Controller
public class HomeController {
    @RequestMapping(value = {"", "/", "/index"})
    public String index() {
        System.out.println(new Random().nextInt(41) + 1);
        return "home_index";
    }
}
